package com.wyl.clinic.entity;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 药品库存
 * </p>
 *
 * @author wangyulong
 * @since 2024-02-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="MedicineStock对象", description="药品库存")
public class MedicineStock implements Serializable {

    private static final long serialVersionUID = 1L;
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "药品id")
    private Integer medicineId;

    @ApiModelProperty(value = "有效期-天")
    private Integer exp;

    @ApiModelProperty(value = "生产日期")
    private LocalDate produceDate;

    @ApiModelProperty(value = "数量")
    private Integer amount;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;


}
